if (type == null) return;
String absolutePath = file.getAbsolutePath();
openFile(absolutePath, project);
}
}
String absolutePath = file.getAbsolutePath();
if (project != null) {
openFile(absolutePath, project);
} else {
VirtualFile vfile = LocalFileSystem.getInstance().findFileByIoFile(file);
if (vfile != null) {